if(location.host == "report.onlyhi.cn"){
    var API = 'https://crmapi.onlyhi.cn';
}else if(location.host == "wechatadmin.onlyeduhi.cn"){
   var API = 'https://api.onlyeduhi.cn';
}
else if(location.host == '127.0.0.1:8082') {//本地测试环境
  var API = 'http://172.16.20.96:8080/onlyhi-admin';//忠星本地
  // var API = 'http://172.16.21.14:8080/onlyhi-admin';//仕勇本地
  var API = 'https://api.onlyeduhi.cn';
}
else{
  // var API = 'http://172.16.20.168:9421';
  // var API = 'http://172.16.20.96:8080/onlyhi-admin';//忠星本地
    var API = 'https://crmapi.onlyhi.cn';

}
